package hr.fer.pus.dll_will.cr.data;

public class FileDescriptor {

	private Long fileID;
	private String fileName;
	private String author;
	private String description;
	private Long spID;
	
	public FileDescriptor(Long fID, String fn, String aut, String des, Long sID){
		this.fileID = fID;
		this.fileName = fn;
		this.author = aut;
		this.description = des;
		this.spID = sID;
	}

	public Long getFileID() {
		return fileID;
	}

	public void setFileID(Long fileID) {
		this.fileID = fileID;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Long getSpID() {
		return spID;
	}

	public void setSpID(Long spID) {
		this.spID = spID;
	}
	
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(fileID+" ");
		sb.append(fileName+" ");
		sb.append(author+" ");
		sb.append(description+" ");
		sb.append(spID);
		return sb.toString();
	}
}
